<template>
	<view :style="themeColor">
		<view class="page">
			<view
				class="flex flex-direction flex-wrap align-stretch justify-center benben-position-layout flex changePwd_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-stretch justify-between changePwd_fd0_0'>
					<view class='flex flex-wrap align-center changePwd_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  changePwd_fd0_0_c0_c0'>&#xe794;</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='changePwd_fd0_0_c1_c0' v-if=" passwordData.falg=='1'">修改密码</text><text
							class='changePwd_fd0_0_c1_c0' v-if=" passwordData.falg==0">设置密码</text>
					</view>
					<view class='flex align-center justify-end changePwd_fd0_0_c2'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---修改密码flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch changePwd_flex_1">
				<view class='flex flex-wrap align-center justify-between changePwd_fd1_0' @tap.stop="handleJumpDiy"
					data-type="navigateTo" :data-url="`/pages/xtsz/phoneSetPassword/phoneSetPassword`"
					v-if=" passwordData.falg==0">
					<text class='changePwd_fd1_0_c0'>手机号验证设置</text>
					<text class='fu-iconfont2  changePwd_fd1_0_c1'>&#xE7F2;</text>
				</view>
				<view class='flex flex-wrap align-center justify-between changePwd_fd1_0' @tap.stop="handleJumpDiy"
					data-type="navigateTo" :data-url="`/pages/xtsz/changePwdOldCode/changePwdOldCode`"
					v-if=" passwordData.falg=='1'">
					<text class='changePwd_fd1_0_c0'>旧密码验证修改</text>
					<text class='fu-iconfont2  changePwd_fd1_0_c1'>&#xE7F2;</text>
				</view>
				<view class='flex flex-wrap align-center justify-between changePwd_fd1_0' @tap.stop="handleJumpDiy"
					data-type="navigateTo" :data-url="`/pages/xtsz/changePwdPhoneCode/changePwdPhoneCode`"
					v-if=" passwordData.falg=='1'">
					<text class='changePwd_fd1_0_c0'>手机号验证修改</text>
					<text class='fu-iconfont2  changePwd_fd1_0_c1'>&#xE7F2;</text>
				</view>
			</view>

			<!---修改密码flex布局结束-->


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"passwordData": {
					"falg": ""
				}
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {

		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {
			this.getps65a489a276295Func()
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//设置中心-是否设置登录密码
			async getps65a489a276295Func() {
				//请求方法
				//数据验证

				let datapasswordData = await this.$api.get(global.apiUrls.post65a489a276295, {

				});

				if (datapasswordData.data.code != 1) {
					this.$message.info(datapasswordData.data.msg);
					return
				}
				let infopasswordData = datapasswordData.data;
				this.passwordData = infopasswordData.data

			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto;
	}

	.changePwd_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.changePwd_fd0_0_c2 {
		padding: 0rpx 0rpx 0rpx 0rpx;
		width: 100rpx;
	}

	.changePwd_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 50rpx;
	}

	.changePwd_fd0_0_c0_c0 {
		font-size: 36rpx;
		font-weight: 400;
		color: #333;
	}

	.changePwd_fd0_0_c0 {
		width: 100rpx;
	}

	.changePwd_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
	}

	.changePwd_flex_1 {
		font-size: 32rpx;
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.changePwd_fd1_0_c1 {
		font-size: 26rpx;
		color: rgba(191, 191, 191, 1);
		font-weight: 400;
	}

	.changePwd_fd1_0_c0 {
		font-size: 32rpx;
		font-weight: 400;
		color: #333333;
	}

	.changePwd_fd1_0 {
		border-bottom: 1px solid #eee;
		padding: 32rpx 0rpx 32rpx 0rpx;
	}
</style>